Skip to content

fix(curl): compare bytes with bytes, not strings - #820

Open
vmphase wants to merge 1 commit into
lexiforest:mainfrom
vmphase:fix/parse-status-line_comparison
Open

fix(curl): compare bytes with bytes, not strings#820
vmphase wants to merge 1 commit into
lexiforest:mainfrom
vmphase:fix/parse-status-line_comparison

Conversation

@vmphase

@vmphase vmphase commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

parse_status_line is currently broken, because it compares bytes with strings, which always return False. Therefore, it falls through every branch and always returns CurlHttpVersion.NONE.

Checklist

  • I have manually reviewed the changes and fully understand the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant