Skip to content

Commit

Permalink
Remove commented out older code
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Nov 7, 2024
1 parent 3cc5b1d commit acaea54
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cdxj_indexer/postquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@ def handle_binary(query_data):
query = handle_binary(query_data)

elif mime.startswith("multipart/"):
# env = {
# "REQUEST_METHOD": "POST",
# "CONTENT_TYPE": mime,
# "CONTENT_LENGTH": len(query_data),
# }

# args = dict(fp=BytesIO(query_data), environ=env, keep_blank_values=True)

try:
boundary = mime.split("boundary=")[1]
parser = MultipartParser(BytesIO(query_data), boundary, charset="utf8")
Expand Down

0 comments on commit acaea54

Please sign in to comment.