Skip to content

Commit

Permalink
Fixed: unknown fields don't have syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Dec 13, 2023
1 parent 440137c commit b57cf76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions httplint/field/finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def name_token(field_name: str) -> str:
class UnknownHttpField(HttpField):
"""A HTTP field that we don't recognise."""

syntax = False
list_header = True
valid_in_requests = True
valid_in_responses = True
Expand Down

0 comments on commit b57cf76

Please sign in to comment.