Skip to content

Commit 39b3e14

Browse files
benyuzjosesimoes
andauthored
Update nanoFramework.System.Net.Http/Http/System.Net.HttpListenerRequest.cs
Co-authored-by: José Simões <jose.simoes@eclo.solutions>
1 parent 4bd82ac commit 39b3e14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nanoFramework.System.Net.Http/Http/System.Net.HttpListenerRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ internal void ParseHTTPRequest()
206206
if (headerName == "authorization")
207207
{
208208
int sepSpace = headerValue.IndexOf(' ');
209-
// Authorization header value must be in format "type credentials". If not, ignore.
209+
// Authorization header value must contain an auth scheme followed by a space and its parameter(s), e.g. "Basic xxx" or "Bearer xxx". If not, ignore.
210210
if (sepSpace > 0)
211211
{
212212
string authType = headerValue.Substring(0, sepSpace);

0 commit comments

Comments
 (0)