Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Remove IsLocal #538

Merged
merged 1 commit into from
Jan 19, 2016
Merged

Remove IsLocal #538

merged 1 commit into from
Jan 19, 2016

Conversation

BrennanConroy
Copy link
Member

#536

@Tratcher

Will need to update a couple repos when this goes in

@Tratcher
Copy link
Member

:shipit: Check Hosting, WebListener, Kestrel, and BasicMiddleware.

@davidfowl
Copy link
Member

:shipit:

@davidfowl
Copy link
Member

Related to this idea, should we move IsHttps to an extension method?

@Tratcher
Copy link
Member

@davidfowl shrug. Last chance if you're going to, but it's not a priority.

@davidfowl
Copy link
Member

The weird thing about it not being a computed property is that the actual scheme and IsHttps can be out of sync. I'm not aware of that being an intentional design choice.

@Tratcher
Copy link
Member

Well, it is actually computed: https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.AspNet.Http/DefaultHttpRequest.cs#L98-L102, but I guess that's not a guaranteed implementation detail.

@brockallen
Copy link

I'd very much like the IsHttps property to be kept. My $0.02.

@davidfowl
Copy link
Member

Might make sense to make these things all computed and not settable. It means that middleware can't change it but if there's a better source of truth anyways then that might be ok.

@BrennanConroy
Copy link
Member Author

🆙 📅 Removed IsLocal from IHttpConnectionFeature

@Tratcher
Copy link
Member

:shipit:

@BrennanConroy BrennanConroy merged commit 1f21540 into dev Jan 19, 2016
@BrennanConroy BrennanConroy deleted the brecon/notlocal branch January 19, 2016 17:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants