Removed extra indentations.
This commit is contained in:
@@ -9,7 +9,7 @@ Nav: [Workbook](../workbook.md) :: [Handling Requests: Header Fields](../handlin
|
||||
- [How to set status code](#status_set)
|
||||
- [How to redirect to a particular location.](#redirect)
|
||||
- [HTTP Status codes](#status)
|
||||
- [Example Staus Codes](#example_1)
|
||||
- [Example Status Codes](#example_1)
|
||||
- [Generic Search Engine](#example_2)
|
||||
- [Response Header Fields](#header_fields)
|
||||
|
||||
@@ -167,7 +167,7 @@ Note: use `res.set_status_code({HTTP_STATUS_CODE}.bad_request)` rather than `res
|
||||
|
||||
<a name="example_1"></a>
|
||||
|
||||
### Example Staus Codes
|
||||
### Example Status Codes
|
||||
|
||||
Basic Service that builds a simple web page to show the most common status codes
|
||||
|
||||
@@ -567,7 +567,7 @@ Connection: close
|
||||
</html>
|
||||
```
|
||||
|
||||
#### Resource searchs not found
|
||||
#### Resource search not found
|
||||
|
||||
```
|
||||
#>curl -i -H -v -X POST -d "query=Eiffel&engine=Google" http://localhost:9090/searchs
|
||||
@@ -644,9 +644,11 @@ features `add_XYZ` add headers that can lead to duplicated entries.
|
||||
a_text_does_not_end_with_double_crlf: a_text.count > 4 implies not a_text.substring (a_text.count - 4, a_text.count).same_string ("%R%N%R%N")
|
||||
ensure
|
||||
message_writable: message_writable
|
||||
```
|
||||
|
||||
helpers
|
||||
|
||||
```eiffel
|
||||
add_header (a_status_code: INTEGER_32; a_headers: detachable ARRAY [TUPLE [name: READABLE_STRING_8; value: READABLE_STRING_8]])
|
||||
-- Put headers with status `a_status', and headers from `a_headers'
|
||||
require
|
||||
|
||||
Reference in New Issue
Block a user