Skip to content

Commit

Permalink
Fix Expect not being removed
Browse files Browse the repository at this point in the history
  • Loading branch information
lexiforest committed Sep 25, 2024
1 parent 717d674 commit fb0ee5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion curl_cffi/requests/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def _set_curl_options(
_update_header_line(header_lines, "Content-Type", "application/octet-stream")

# Never send `Expect` header.
_update_header_line(header_lines, "Expect", "")
_update_header_line(header_lines, "Expect", "", force=True)

c.setopt(CurlOpt.HTTPHEADER, [h.encode() for h in header_lines])

Expand Down

0 comments on commit fb0ee5e

Please sign in to comment.