We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b680838 commit 709fe03Copy full SHA for 709fe03
1 file changed
src/aws_durable_execution_sdk_python_testing/web/models.py
@@ -64,8 +64,12 @@ def from_bytes(
64
if query_params is None:
65
query_params = {}
66
67
+ # Skip body parsing for GET requests
68
+ if method == "GET":
69
+ body_dict = {}
70
+ logger.debug("GET request, skipping body parsing")
71
# Try AWS deserialization first if operation_name provided
- if operation_name:
72
+ elif operation_name:
73
try:
74
deserializer = AwsRestJsonDeserializer.create(operation_name)
75
body_dict = deserializer.from_bytes(body_bytes)
0 commit comments