Skip to content

Release v5.12.4

Latest

Choose a tag to compare

@System-Glitch System-Glitch released this 08 Sep 09:35
v5.12.4
4277729
  • httputil.ParseMultiValuesHeader:
    • Fixed quality value matching not complying with RFC 9110.
    • All segments are now trimmed.
    • The "q" parameter is now case-insensitive.
    • Integer values (no decimal place) are now accepted.
    • Other parameters are now accepted (e.g.: text/html;charset=utf-8;q=0.8).
    • Values having a parameter other than "q" now have a default quality value of 1 instead of 0.
    • Improved performance and slightly reduced memory usage.

Thanks to @MaxFreedomPollard for his contribution! ( #295 )