Skip to content

Commit 53c050a

Browse files
Update System.Net.HttpWebRequest.cs (#473)
Co-authored-by: Robin Jones <[email protected]>
1 parent 3e1dea2 commit 53c050a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nanoFramework.System.Net.Http/Http/System.Net.HttpWebRequest.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1948,7 +1948,8 @@ private byte[] GetHTTPRequestData()
19481948
}
19491949
else
19501950
{
1951-
statusLine = Method + " " + Address.AbsolutePath + " HTTP/" + ProtocolVersion + "\r\n"; // .PathAndQuery
1951+
// statusLine = Method + " " + Address.AbsolutePath + " HTTP/" + ProtocolVersion + "\r\n"; // .PathAndQuery
1952+
statusLine = Method + " " + Address.PathAndQuery + " HTTP/" + ProtocolVersion + "\r\n";
19521953
}
19531954

19541955
//most intrinsic headers are stored in the webheaders class

0 commit comments

Comments
 (0)