I want this Hurl file whith implicit body assert before [Asserts] section to succeed:
GET https://hurl.dev/assets/img/logo-light.svg
HTTP 200
```
[Asserts]
header "accept-ranges" == "bytes"
````
If we don't want to permit `implicit body assert` before `[Asserts]` section, then we have to improve the actual error message :
```
error: Parsing method
--> -:9:1
|
9 | [Asserts]
| ^ the HTTP method <> is not valid. Valid values are GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
|
```
According to the doc, the implicit body assert must be after the explicit asserts section https://hurl.dev/docs/response.html#structure We could try to improve the error though, because it must be a common error!
Problem to solve
I want this Hurl file whith
``` [Asserts] header "accept-ranges" == "bytes" ```` If we don't want to permit `implicit body assert` before `[Asserts]` section, then we have to improve the actual error message : ``` error: Parsing method --> -:9:1 | 9 | [Asserts] | ^ the HTTP method <> is not valid. Valid values are GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH | ```implicit body assert
before[Asserts]
section to succeed: