Fetching from malformed headers doesn't work

This endpoint example doesn’t work with Yaak, but works with postman/curl

curl -i "etp.taipower.com.tw/api/"

This is because the returned header key has an extra space at the start:
Set-Cookie:

Yaak client shows this error, and the user is unable to see anything.

error sending request → reqwest::Error { kind: Request, source: hyper_util::client::legacy::Error(SendRequest, hyper::Error(Parse(Header(Token)))) }

Please authenticate to join the conversation.

Upvoters
Status

Needs Triage

Board

Feedback

Tags

Bug

Date

7 months ago

Author

Matthew Wang

Subscribe to post

Get notified by email when there are changes.