Re: [PATCH v3 0/1] MR7323: wininet: Treat Expires value "-1" the same as "0"
26 Feb
2025
26 Feb
'25
10:51 a.m.
In fact, some HTTP server will send "Expires: -1" in HTTP response header. You are right, HTTP spec is that invalid value, include "0". I add a test to test_http_connection() that would send "Expires: -1" in response header, I get the error log: ``` 0024:err:wininet:HTTP_ParseDateAsAsctime unexpected weekday L"-1" 0024:err:wininet:HTTP_ParseDate unexpected date format L"-1" ``` Maybe we should just treat "Expires: -1" as an invalid date format and ignore it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7323#note_95990
292
Age (days ago)
292
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yongjie Yao (@yaoyongjie)