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

Only format non-negative int64 #760 #781

Merged
merged 1 commit into from
Feb 28, 2017
Merged

Only format non-negative int64 #760 #781

merged 1 commit into from
Feb 28, 2017

Conversation

JunTaoLuo
Copy link
Contributor

@JunTaoLuo JunTaoLuo commented Feb 24, 2017

#760

Naming is hard. I will update Kestrel and HttpSysListener when this is approved.

@JunTaoLuo
Copy link
Contributor Author

ping @Tratcher

@@ -101,7 +101,7 @@ public ContentDispositionHeaderValue ContentDisposition
}
set
{
Headers.Set(HeaderNames.ContentLength, value.HasValue ? HeaderUtilities.FormatInt64(value.Value) : null);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can defer to Headers.ContentLength now.

@JunTaoLuo JunTaoLuo merged commit 15adff9 into dev Feb 28, 2017
@JunTaoLuo JunTaoLuo deleted the johluo/non-negative branch March 27, 2017 17:39
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.

3 participants