namespace MonoTests.System.Net
{
[TestFixture]
+ [Category ("RequiresBSDSockets")]
public class HttpWebRequestTest
{
private Random rand = new Random ();
Where = "first write";
StreamWriter writer = new StreamWriter (ns, Encoding.ASCII);
writer.Write ( "HTTP/1.1 401 Unauthorized\r\n" +
- "WWW-Authenticate: NTLM\r\n" +
+ "WWW-Authenticate: ignore\r\n" +
+ "WWW-Authenticate: NTLM\r\n" +
+ "WWW-Authenticate: ignore,K\r\n" +
"Content-Length: 5\r\n\r\nWRONG");
writer.Flush ();
completed [1] = new ManualResetEvent (false);
using (ListenerScope scope = new ListenerScope (processor, port, completed [0])) {
- ManualResetEvent clientCompleted = new ManualResetEvent (false);
Uri address = new Uri (string.Format ("http://localhost:{0}", port));
HttpWebRequest client = (HttpWebRequest) WebRequest.Create (address);
}
[TestFixture]
+ [Category ("RequiresBSDSockets")]
public class HttpRequestStreamTest
{
[Test]