Skip to content

Conversation

@jimp100
Copy link

@jimp100 jimp100 commented Oct 15, 2025

The header value default separator used by System.Net.Http is ", " - a comma followed by a space.

The signing process needs to match this otherwise the signature will not match the headers as sent over the wire by System.Net.Http

Microsoft's decision can be seen in the .NET source code: HttpHeaderParser.cs

…standard

The header value default separator used by `System.Net.Http` is ", " - a comma and a space.  

The header signing process needs to match this otherwise the signature not match the headers as sent over the wire by `System.Net.Http`

Microsoft's decision can be seen in the .NET source code: https://github.com/dotnet/runtime/blob/9d4c65ddddb340cdb1479cafc6e320d1918c82eb/src/libraries/System.Net.Http/src/System/Net/Http/Headers/HttpHeaderParser.cs#L13C9-L13C53
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