http: order absent fields first #10
|
@ -31,8 +31,8 @@ HttpRequest = <http-request
|
||||||
|
|
||||||
Headers = {@"Lowercase" symbol: string ...:...} .
|
Headers = {@"Lowercase" symbol: string ...:...} .
|
||||||
QueryValue = @string string / <file @filename string @headers Headers @body bytes> .
|
QueryValue = @string string / <file @filename string @headers Headers @body bytes> .
|
||||||
RequestBody = @present bytes / @absent #f .
|
RequestBody = @absent #f / @present bytes .
|
||||||
RequestHost = @present string / @absent #f .
|
RequestHost = @absent #f / @present string .
|
||||||
|
|
||||||
# Assertion to handler entity
|
# Assertion to handler entity
|
||||||
HttpContext = <request @req HttpRequest @res #:HttpResponse> .
|
HttpContext = <request @req HttpRequest @res #:HttpResponse> .
|
||||||
|
|
Loading…
Reference in New Issue