Skip to content

Commit

Permalink
Merge pull request #49 from liyishuai/patch-1
Browse files Browse the repository at this point in the history
Fix table to render correctly
  • Loading branch information
andreineculau authored Oct 20, 2017
2 parents c097183 + 3a7dec8 commit 2daf034
Show file tree
Hide file tree
Showing 9 changed files with 179 additions and 179 deletions.
44 changes: 22 additions & 22 deletions doc/README_accept.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@

This block is in charge of request payload acceptance checks.

| callback | output | default
:-- | ---: | :--- | :---
C1 | [`default_content_type_provided :var`](#default_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| [`has_accept : in`](#has_accept--in) | T / F |
C2 | [`content_types_provided :var`](#content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| [`accept_matches : in`](#accept_matches--in) | T / F |
D2 | [`languages_provided :var`](#languages_provided-var) | { *Lang*<br>: *Handler*<br>}\* | { }
| [`default_language_provided :var`](#default_language_provided-var) | [ *Lang*<br>, *Handler*<br>] |
| [`has_accept_language : in`](#has_accept_language--in) | T / F |
D3 | [`languages_provided :var`](#languages_provided-var) | { *Lang*<br>: *Handler*<br>}\* | { }
| [`accept_language_matches : in`](#accept_language_matches--in) | T / F |
E3 | [`charsets_provided :var`](#charsets_provided-var) | { *Charset*<br>: *Handler*<br>}\* | { }
| [`default_charset_provided :var`](#default_charset_provided-var) | [ *Charset*<br>, *Handler*<br>] |
| [`has_accept_charset : in`](#has_accept_charset--in) | T / F |
E4 | [`charsets_provided :var`](#charsets_provided-var) | { *Charset*<br>: *Handler*<br>}\* | { }
| [`accept_charset_matches : in`](#accept_charset_matches--in) | T / F |
F4 | [`encodings_provided :var`](#encodings_provided-var) | { *Encoding*<br>: *Handler*<br>}\* | { }
| [`default_encoding_provided :var`](#default_encoding_provided-var) | [ *Encoding*<br>, *Handler*<br>] | [ IDENTITY, IDENTITY_HANDLER ]
| [`has_accept_encoding : in`](#has_accept_encoding--in) | T / F |
F5 | [`encodings_provided :var`](#encodings_provided-var) | { *Encoding*<br>: *Handler*<br>}\* | { }
| [`accept_encoding_matches : in`](#accept_encoding_matches--in) | T / F |
E6 | [`ignore_accept_block_mismatches :bin`](#ignore_accept_block_mismatches-bin) | T / F | FALSE
| | callback | output | default
|:-- | ---: | :--- | :---
|C1 | [`default_content_type_provided :var`](#default_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| | [`has_accept : in`](#has_accept--in) | T / F |
|C2 | [`content_types_provided :var`](#content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| | [`accept_matches : in`](#accept_matches--in) | T / F |
|D2 | [`languages_provided :var`](#languages_provided-var) | { *Lang*<br>: *Handler*<br>}\* | { }
| | [`default_language_provided :var`](#default_language_provided-var) | [ *Lang*<br>, *Handler*<br>] |
| | [`has_accept_language : in`](#has_accept_language--in) | T / F |
|D3 | [`languages_provided :var`](#languages_provided-var) | { *Lang*<br>: *Handler*<br>}\* | { }
| | [`accept_language_matches : in`](#accept_language_matches--in) | T / F |
|E3 | [`charsets_provided :var`](#charsets_provided-var) | { *Charset*<br>: *Handler*<br>}\* | { }
| | [`default_charset_provided :var`](#default_charset_provided-var) | [ *Charset*<br>, *Handler*<br>] |
| | [`has_accept_charset : in`](#has_accept_charset--in) | T / F |
|E4 | [`charsets_provided :var`](#charsets_provided-var) | { *Charset*<br>: *Handler*<br>}\* | { }
| | [`accept_charset_matches : in`](#accept_charset_matches--in) | T / F |
|F4 | [`encodings_provided :var`](#encodings_provided-var) | { *Encoding*<br>: *Handler*<br>}\* | { }
| | [`default_encoding_provided :var`](#default_encoding_provided-var) | [ *Encoding*<br>, *Handler*<br>] | [ IDENTITY, IDENTITY_HANDLER ]
| | [`has_accept_encoding : in`](#has_accept_encoding--in) | T / F |
|F5 | [`encodings_provided :var`](#encodings_provided-var) | { *Encoding*<br>: *Handler*<br>}\* | { }
| | [`accept_encoding_matches : in`](#accept_encoding_matches--in) | T / F |
|E6 | [`ignore_accept_block_mismatches :bin`](#ignore_accept_block_mismatches-bin) | T / F | FALSE

> FIXME Explanations needed
40 changes: 20 additions & 20 deletions doc/README_alternative.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@

## alternative

| callback | output | default
:-- | ---: | :--- | :---
| [`trace_content_types_provided : in`](#trace_content_types_provided--in) | { *CT*<br>: *Handler*<br>}\* | { }
| [`default_trace_content_type_provided : in`](#default_trace_content_type_provided--in) | [ *CT*<br>, *Handler*<br>] |
| [`choice_content_types_provided :var`](#choice_content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| [`default_choice_content_type_provided :var`](#default_choice_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| [`error_content_types_provided :var`](#error_content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| [`default_error_content_type_provided :var`](#default_error_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| [`options_content_types_provided :var`](#trace_content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| [`default_options_content_type_provided :var`](#default_trace_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| [`alternative_type : in`](#alternative_type--in) | String |
| [`is_alternative_response : in`](#is_alternative_response--in) | T / F |
N22 | [`alternative_type : in`](#alternative_type--in) | String |
| [`default_alternative_content_type_provided :var`](#default_alternative_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| [`alternative_has_accept : in`](#alternative_has_accept--in) | T / F |
N23 | [`alternative_type : in`](#alternative_type--in) | String |
| [`alternative_content_types_provided :var`](#alternative_content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| [`alternative_accept_matches : in`](#alternative_accept_matches--in) | T / F |
N24 | [`alternative_content_types_provided:handler :bin`](#alternative_content_types_provided-handler-var) | T / F |
| [`alternative_to_content : in`](#alternative_to_content--in) | T / F | FALSE
| | callback | output | default
|:-- | ---: | :--- | :---
| | [`trace_content_types_provided : in`](#trace_content_types_provided--in) | { *CT*<br>: *Handler*<br>}\* | { }
| | [`default_trace_content_type_provided : in`](#default_trace_content_type_provided--in) | [ *CT*<br>, *Handler*<br>] |
| | [`choice_content_types_provided :var`](#choice_content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| | [`default_choice_content_type_provided :var`](#default_choice_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| | [`error_content_types_provided :var`](#error_content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| | [`default_error_content_type_provided :var`](#default_error_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| | [`options_content_types_provided :var`](#trace_content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| | [`default_options_content_type_provided :var`](#default_trace_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| | [`alternative_type : in`](#alternative_type--in) | String |
| | [`is_alternative_response : in`](#is_alternative_response--in) | T / F |
|N22 | [`alternative_type : in`](#alternative_type--in) | String |
| | [`default_alternative_content_type_provided :var`](#default_alternative_content_type_provided-var) | [ *CT*<br>, *Handler*<br>] |
| | [`alternative_has_accept : in`](#alternative_has_accept--in) | T / F |
|N23 | [`alternative_type : in`](#alternative_type--in) | String |
| | [`alternative_content_types_provided :var`](#alternative_content_types_provided-var) | { *CT*<br>: *Handler*<br>}\* | { }
| | [`alternative_accept_matches : in`](#alternative_accept_matches--in) | T / F |
|N24 | [`alternative_content_types_provided:handler :bin`](#alternative_content_types_provided-handler-var) | T / F |
| | [`alternative_to_content : in`](#alternative_to_content--in) | T / F | FALSE

> FIXME Explanations needed
26 changes: 13 additions & 13 deletions doc/README_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@

## Create

| callback | output | default
:-- | ---: | :--- | :---
K3 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`is_method_put : in`](#is_method_put--in) | T / F |
| [`create_is_method_put : in`](#create_is_method_put--in) | T / F | `is_method_put : in`
L3 | [`create_partial_put :bin`](#create_partial_put-bin) | T / F | `process_partial_put :bin`
M3 | [`create_has_conflict :bin`](#create_has_conflict-bin) | T / F | `process_has_conflict :bin`
K2 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`create_methods :var`](#create_methods-var) | [ *Method* ] | [ POST<br>, PUT<br>, PATCH<br>]
| [`is_method_create : in`](#is_method_create--in) | T / F |
L2 | [`path :var`](#path-var) | *URI* |
| [`create_path : in`](#create_path--in) | T / F |
M2 | [`create :bin`](#create-bin) | T / F | FALSE
| | callback | output | default
|:-- | ---: | :--- | :---
|K3 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`is_method_put : in`](#is_method_put--in) | T / F |
| | [`create_is_method_put : in`](#create_is_method_put--in) | T / F | `is_method_put : in`
|L3 | [`create_partial_put :bin`](#create_partial_put-bin) | T / F | `process_partial_put :bin`
|M3 | [`create_has_conflict :bin`](#create_has_conflict-bin) | T / F | `process_has_conflict :bin`
|K2 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`create_methods :var`](#create_methods-var) | [ *Method* ] | [ POST<br>, PUT<br>, PATCH<br>]
| | [`is_method_create : in`](#is_method_create--in) | T / F |
|L2 | [`path :var`](#path-var) | *URI* |
| | [`create_path : in`](#create_path--in) | T / F |
|M2 | [`create :bin`](#create-bin) | T / F | FALSE

> FIXME Explanations needed
40 changes: 20 additions & 20 deletions doc/README_precondition.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@

This block is in charge of precondition checks.

| callback | output | default
:-- | ---: | :--- | :---
G9 | [`has_if_match : in`](#has_if_match--in) | T / F |
| [`missing_has_precondition : in`](#missing_has_precondition--in) | T / F |
C9 | [`has_if_match : in`](#has_if_match--in) | T / F |
C10 | [`etag :var`](#etag-var) | *ETag* |
| [`if_match_matches : in`](#if_match_matches--in) | T / F
D10 | [`has_if_unmodified_since : in`](#has_if_unmodified_since--in) | T / F |
D11 | [`last_modified :var`](#last_modified-var) | *Date* | Now
| [`if_unmodified_since_matches : in`](#if_unmodified_since_matches--in) | T / F
E11 | [`has_if_none_match : in`](#has_if_none_match--in) | T / F |
E12 | [`etag :var`](#etag-var) | *ETag* |
| [`if_none_match_matches : in`](#if_none_match_matches--in) | T / F
F12 | [`has_if_modified_since : in`](#has_if_modified_since--in) | T / F |
F13 | [`last_modified :var`](#last_modified-var) | *Date* | Now
| [`if_modified_since_matches : in`](#if_modified_since_matches--in) | T / F
F14 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`safe_methods :var`](#safe_methods-var) | [ *Method* ] | [ HEAD<br>, GET<br> OPTIONS<br>, TRACE<br>]
| [`is_method_safe : in`](#is_method_safe--in) | T / F |
| [`is_precondition_safe : in`](#is_precondition_safe--in) | T / F |
| | callback | output | default
|:-- | ---: | :--- | :---
|G9 | [`has_if_match : in`](#has_if_match--in) | T / F |
| | [`missing_has_precondition : in`](#missing_has_precondition--in) | T / F |
|C9 | [`has_if_match : in`](#has_if_match--in) | T / F |
|C10 | [`etag :var`](#etag-var) | *ETag* |
| | [`if_match_matches : in`](#if_match_matches--in) | T / F
|D10 | [`has_if_unmodified_since : in`](#has_if_unmodified_since--in) | T / F |
|D11 | [`last_modified :var`](#last_modified-var) | *Date* | Now
| | [`if_unmodified_since_matches : in`](#if_unmodified_since_matches--in) | T / F
|E11 | [`has_if_none_match : in`](#has_if_none_match--in) | T / F |
|E12 | [`etag :var`](#etag-var) | *ETag* |
| | [`if_none_match_matches : in`](#if_none_match_matches--in) | T / F
|F12 | [`has_if_modified_since : in`](#has_if_modified_since--in) | T / F |
|F13 | [`last_modified :var`](#last_modified-var) | *Date* | Now
| | [`if_modified_since_matches : in`](#if_modified_since_matches--in) | T / F
|F14 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`safe_methods :var`](#safe_methods-var) | [ *Method* ] | [ HEAD<br>, GET<br> OPTIONS<br>, TRACE<br>]
| | [`is_method_safe : in`](#is_method_safe--in) | T / F |
| | [`is_precondition_safe : in`](#is_precondition_safe--in) | T / F |

> FIXME Explanations needed
30 changes: 15 additions & 15 deletions doc/README_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@

## Process

| callback | output | default
:-- | ---: | :--- | :---
J10 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`is_method_head_get : in`](#is_method_head_get--in) | T / F |
J11 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`is_method_delete : in`](#is_method_delete--in) | T / F |
K11 | [`process_delete :bin`](#process_delete-bin) | T / F | FALSE
J13 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`is_method_put : in`](#is_method_put--in) | T / F |
K13 | [`process_partial_put :bin`](#process_partial_put-var) | T / F | FALSE
K14 | [`process_has_conflict :bin`](#process_has_conflict-bin) | T / F | FALSE
J14 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`process_methods :var`](#process_methods-var) | [ *Method* ] | [ POST<br>, PATCH<br>]
| [`is_method_process : in`](#is_method_process--in) | T / F |
L14 | [`process :bin`](#process-bin) | T / F | FALSE
| | callback | output | default
|:-- | ---: | :--- | :---
|J10 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`is_method_head_get : in`](#is_method_head_get--in) | T / F |
|J11 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`is_method_delete : in`](#is_method_delete--in) | T / F |
|K11 | [`process_delete :bin`](#process_delete-bin) | T / F | FALSE
|J13 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`is_method_put : in`](#is_method_put--in) | T / F |
|K13 | [`process_partial_put :bin`](#process_partial_put-var) | T / F | FALSE
|K14 | [`process_has_conflict :bin`](#process_has_conflict-bin) | T / F | FALSE
|J14 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`process_methods :var`](#process_methods-var) | [ *Method* ] | [ POST<br>, PATCH<br>]
| | [`is_method_process : in`](#is_method_process--in) | T / F |
|L14 | [`process :bin`](#process-bin) | T / F | FALSE

> FIXME Explanations needed
Expand Down
62 changes: 31 additions & 31 deletions doc/README_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,37 @@

This block is in charge of request-level checks.

| callback | output | default
:-- | ---: | :--- | :---
B12 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`allowed_methods :var`](#allowed_methods-var) | [ *Method* ] | `implemented_methods :var`
| [`is_method_allowed : in`](#is_method_allowed--in) | T / F |
| [`allow_header : in`](#allow_header--in) | *AllowHeader* |
B11 | [`is_authorized :bin`](#is_authorized-bin) | T / F | TRUE
| [`auth_challenges :var`](#auth_challenges-var) | [ *AuthChallenge* ] | [ ]
B10 | [`has_expects : in`](#has_expects--in) | T / F |
| [`expects_continue : in`](#expects_continue--in) | T / F |
B9 | [`has_content : in`](#has_content--in) | T / F |
B8 | [`is_content_too_large :bin`](#is_content_too_large-bin) | T / F | TRUE
B7 | [`post_content_types_accepted :var`](#content_types_accepted-var) | { *CT*<br>: *Handler* } | { }
| [`patch_content_types_accepted :var`](#content_types_accepted-var) | { *CT*<br>: *Handler* } | { }
| [`put_content_types_accepted :var`](#content_types_accepted-var) | { *CT*<br>: *Handler* } | { }
| [`content_types_accepted :var`](#content_types_accepted-var) | { *CT*<br>: *Handler* } | { }
| [`is_content_type_accepted : in`](#is_content_type_accepted--in) | T / F |
B6 | [`content_types_accepted:handler :bin`](#content_types_accepted-handler-bin) | T / F |
| [`from_content: in`](#from_content--in) | T / F |
B5 | [`is_forbidden :bin`](#is_forbidden-bin) | T / F | FALSE
B4 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`is_method_trace : in`](#is_method_trace--in) | T / F |
| [`trace_sensitive_headers :var`](#trace_sensitive_headers-var) | [ *HeaderName* ] | [ Authentication<br>, Cookies<br>]
| [`process_trace : in`](#process_trace--in) | |
B3 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| [`is_method_options : in`](#is_method_options--in) | T / F |
| [`accept_patch_header : in`](#accept_patch_header--in) | *AcceptPatchHeader* |
| [`accept_post_header : in`](#accept_post_header--in) | *AcceptPostHeader* |
| [`accept_put_header : in`](#accept_put_header--in) | *AcceptPutHeader* |
| [`process_options : in`](#process_options--in) | |
B2 | [`is_request_block_ok :bin`](#is_request_block_ok-bin) | T / F | TRUE
| | callback | output | default
|:-- | ---: | :--- | :---
|B12 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`allowed_methods :var`](#allowed_methods-var) | [ *Method* ] | `implemented_methods :var`
| | [`is_method_allowed : in`](#is_method_allowed--in) | T / F |
| | [`allow_header : in`](#allow_header--in) | *AllowHeader* |
|B11 | [`is_authorized :bin`](#is_authorized-bin) | T / F | TRUE
| | [`auth_challenges :var`](#auth_challenges-var) | [ *AuthChallenge* ] | [ ]
|B10 | [`has_expects : in`](#has_expects--in) | T / F |
| | [`expects_continue : in`](#expects_continue--in) | T / F |
|B9 | [`has_content : in`](#has_content--in) | T / F |
|B8 | [`is_content_too_large :bin`](#is_content_too_large-bin) | T / F | TRUE
|B7 | [`post_content_types_accepted :var`](#content_types_accepted-var) | { *CT*<br>: *Handler* } | { }
| | [`patch_content_types_accepted :var`](#content_types_accepted-var) | { *CT*<br>: *Handler* } | { }
| | [`put_content_types_accepted :var`](#content_types_accepted-var) | { *CT*<br>: *Handler* } | { }
| | [`content_types_accepted :var`](#content_types_accepted-var) | { *CT*<br>: *Handler* } | { }
| | [`is_content_type_accepted : in`](#is_content_type_accepted--in) | T / F |
|B6 | [`content_types_accepted:handler :bin`](#content_types_accepted-handler-bin) | T / F |
| | [`from_content: in`](#from_content--in) | T / F |
|B5 | [`is_forbidden :bin`](#is_forbidden-bin) | T / F | FALSE
|B4 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`is_method_trace : in`](#is_method_trace--in) | T / F |
| | [`trace_sensitive_headers :var`](#trace_sensitive_headers-var) | [ *HeaderName* ] | [ Authentication<br>, Cookies<br>]
| | [`process_trace : in`](#process_trace--in) | |
|B3 | [`method :var`](#method-var) | *Method* | `Transaction.request.method`
| | [`is_method_options : in`](#is_method_options--in) | T / F |
| | [`accept_patch_header : in`](#accept_patch_header--in) | *AcceptPatchHeader* |
| | [`accept_post_header : in`](#accept_post_header--in) | *AcceptPostHeader* |
| | [`accept_put_header : in`](#accept_put_header--in) | *AcceptPutHeader* |
| | [`process_options : in`](#process_options--in) | |
|B2 | [`is_request_block_ok :bin`](#is_request_block_ok-bin) | T / F | TRUE


### `allowed_methods :var`
Expand Down
Loading

0 comments on commit 2daf034

Please sign in to comment.