Skip to content

Commit

Permalink
Remove unneeded content_type strip (#642)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertyw authored Jan 13, 2023
1 parent 602921e commit 4784e2a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions silk/model_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ def default(self, o):

def _parse_content_type(content_type):
"""best efforts on pulling out the content type and encoding from Content-Type header"""
try:
content_type = content_type.strip()
except AttributeError:
pass
char_set = None
if content_type.strip():
splt = content_type.split(';')
Expand Down

0 comments on commit 4784e2a

Please sign in to comment.