Attention is currently required from: dexter.

neels has posted comments on this change by neels. ( 
https://gerrit.osmocom.org/c/pysim/+/42155?usp=email )

Change subject: esim/http_json_api.py: support text/plain response Content-Type
......................................................................


Patch Set 5:

(1 comment)

File pySim/esim/http_json_api.py:

https://gerrit.osmocom.org/c/pysim/+/42155/comment/2303fe74_66323951?usp=email :
PS5, Line 431:             if 'header' in output:
> I think you should draw this header check into the conditional branch because 
> when we decode a plain […]
This is not matching some plaintext blob. 'output' is a dict, the 'in' operator 
here looks up a dict key which must be exactly 'header', case sensitive and 
full match.



--
To view, visit https://gerrit.osmocom.org/c/pysim/+/42155?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Iba6e4cef1048b376050a435a900c0f395655a790
Gerrit-Change-Number: 42155
Gerrit-PatchSet: 5
Gerrit-Owner: neels <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-CC: dexter <[email protected]>
Gerrit-Attention: dexter <[email protected]>
Gerrit-Comment-Date: Thu, 08 Oct 2026 23:56:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: dexter <[email protected]>

Reply via email to