From 35f610e0a5ee4f110060349413b25b247f29b810 Mon Sep 17 00:00:00 2001 From: Coli Alessandro Date: Thu, 6 Mar 2025 16:51:16 +0100 Subject: [PATCH] [refactor] style checker compliace --- httpie/cli/definition.py | 2 +- httpie/http_parser.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/httpie/cli/definition.py b/httpie/cli/definition.py index 78c72467..531599b9 100644 --- a/httpie/cli/definition.py +++ b/httpie/cli/definition.py @@ -251,7 +251,7 @@ content_types.add_argument( default=False, short_help="Parse and send an HTTP request from a .http file", help=""" - Parse and send an HTTP request from a file in .http format. + Parse and send an HTTP request from a file in .http format. The file should contain a valid HTTP request with headers and body. If this is specified, URL will be treated as a file path. """, diff --git a/httpie/http_parser.py b/httpie/http_parser.py index 24cc6f7a..27b1e393 100644 --- a/httpie/http_parser.py +++ b/httpie/http_parser.py @@ -2,6 +2,7 @@ from __future__ import annotations from dataclasses import dataclass import re + @dataclass class HttpFileRequest: method: str