These are chat archives for damianh/Cedar

21st
Jul 2015
Dennis Doomen
@dennisdoomen
Jul 21 2015 06:33
@damianh if Cedar's PutCommand receives an ordinary HTTP error (e.g. 401), should we expect a ProblemDetailsException or a HttpRequestException?
Damian Hickey
@damianh
Jul 21 2015 07:56
Where is the 401 coming from?
MW other than Cedar.CommandHandling.Http ?
(I've had a request to extract the problem details stuff into a separate lib)
Dennis Doomen
@dennisdoomen
Jul 21 2015 07:58
It's coming from IIS
Damian Hickey
@damianh
Jul 21 2015 07:59
Then expect HttpRequestException
Dennis Doomen
@dennisdoomen
Jul 21 2015 08:00
So in essence, Cedar is only adding some functionality to better transport functional details. It's not a wrapper around HttpClient.
Damian Hickey
@damianh
Jul 21 2015 08:01
IIS doesn't know anything about ProblemDetails
doesn't wrap HttpClient, no
it just uses it.
The Accept header has to be application/problem+json and the endpoint has to understand that. IIS doesn't know what that is.
Is this to do with NTLM auth?