Bug 20282 - [New Web Stack] [Research] HttpClientHandler should not send authentication header on first request
Summary: [New Web Stack] [Research] HttpClientHandler should not send authentication h...
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: master
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Martin Baulig
URL:
Depends on:
Blocks:
 
Reported: 2014-06-02 17:15 UTC by Martin Baulig
Modified: 2017-09-13 19:31 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Martin Baulig 2014-06-02 17:15:04 UTC
This code:

====
	var handler = new HttpClientHandler ();
	handler.Credentials = new NetworkCredential ("mono", "monkey");
	handler.PreAuthenticate = true;

	HttpClient client = new HttpClient (handler);
	var response = await client.GetAsync (uri, HttpCompletionOption.ResponseHeadersRead);
====

should not send any "Authorization" header on first request.
Comment 3 Martin Baulig 2016-11-11 09:46:06 UTC
Bump.
Comment 4 Martin Baulig 2017-09-13 19:31:15 UTC
Research for new web stack.

Note You need to log in before you can comment on or make changes to this bug.