From 2c90227f636348e6253a8d07859a51f01dd4388d Mon Sep 17 00:00:00 2001 From: tkucherera Date: Wed, 9 Aug 2023 10:48:09 -0400 Subject: [PATCH] "Firmware Update " --- confluent_server/confluent/httpapi.py | 1 - 1 file changed, 1 deletion(-) diff --git a/confluent_server/confluent/httpapi.py b/confluent_server/confluent/httpapi.py index a357d72a..d418302d 100644 --- a/confluent_server/confluent/httpapi.py +++ b/confluent_server/confluent/httpapi.py @@ -886,7 +886,6 @@ def resourcehandler_backend(env, start_response): yield rsp return elif (operation == 'create' and ('/firmware/updates/active' in env['PATH_INFO'])): - #TODO figure out why content length shows data being there but data string is empty (TK) # Solution the wsgi.iput stream can only be read once and it is being read at the top if 'multipart/form-data' in reqtype: field_storage = cgi.FieldStorage(fp=env['wsgi.input'], environ=env, keep_blank_values=True)