hsts: support "implied LWS" properly around max-age

Adjust test 780 to verify.

Reported-by: newfunction
Closes #15330
This commit is contained in:
Daniel Stenberg 2024-10-18 09:38:13 +02:00
parent 288cfcbe38
commit 5ea61a0b54
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 9 additions and 4 deletions

View file

@ -22,7 +22,7 @@ Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
Strict-Transport-Security: max-age=1000
Strict-Transport-Security: max-age = 1000
</data>
</reply>
@ -68,7 +68,7 @@ Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes
Strict-Transport-Security: max-age=1000
Strict-Transport-Security: max-age = 1000
</stdout>