Commit Graph

276 Commits

Author SHA1 Message Date
John Luo 6e87b0f5eb Target netstandard2.0 TFM 2017-05-18 14:38:26 -07:00
John Luo 07470d41b1 Ignore empty header values #722 2017-05-17 12:45:56 -07:00
Nate McMaster bf0b0e283d Upgrade test framework versions and fix test issues 2017-05-15 15:25:02 -07:00
John Luo 9168442704 Migration 2017-05-05 14:59:10 -07:00
Hao Kung 3085f016e4 Fix GetToken() 2017-04-24 11:58:12 -07:00
John Luo 0da88e0dda Avoid double escaping in PathString 2017-04-06 13:29:06 -07:00
Hao Kung 13925be91e Initial Auth 2.0 checkin 2017-03-31 11:56:20 -07:00
John Luo 2bdbbbf41d UseMiddleware resolves InvokeAsync in addition to Invoke 2017-03-27 11:28:09 -07:00
Pranav K b3b846c27e Remove net451 as a cross-compile target 2017-03-24 11:46:13 -07:00
John Luo c69c926217 Merge branch 'properties-dict' of https://github.com/tuespetre/HttpAbstractions into tdev 2017-03-21 17:45:29 -07:00
Kiran Challa 50f3cd6877 Changed samples and tests to run on netcoreapp2.0 2017-03-21 13:25:34 -07:00
Derek Gray d89f66f150 Use a CopyOnWriteDictionary in ApplicationBuilder so branches can set their own properties
Fix #783
2017-03-21 14:31:26 -05:00
Nate McMaster 73d58b7a13 Unify dependency versions to one file 2017-03-15 13:54:28 -07:00
kchanlee 1b02cd2baf Implement `OwinEnvironment` `IEnumerable.GetEnumerator()` (#789) 2017-03-13 07:54:57 -07:00
Yves57 7440d5d29c Remove allocations and improve Header Quality Values parsing performance 2017-03-06 14:31:13 -08:00
John Luo 15adff9433 Only format non-negative int64 #760 2017-02-28 14:47:08 -08:00
Doug Bunting d4800d188a Bump test projects up to .NET 4.5.2
- aspnet/Testing#248
- xUnit no longer supports .NET 4.5.1
- build tests for desktop .NET only on Windows
2017-02-14 08:37:12 -08:00
David Fowler 945b4e63de Added support for middleware activation via IMiddlewareFactory (#773)
* Added support for middleware activation via IMiddlewareFactory
- IMiddlewareFactory and IMiddleware are new extensiblity points for
activating and authoring middleware. Under the covers, middleware is still
very much just a function. This just provides a nice way to get a per request
activated middleware instance that is created and released via the IMiddlewareFactory.
The caveats are that middleware needs to be registered in the container (by default)
and that not possible to explicitly pass arguments directly via UseMiddleware.
- Added tests
2017-02-13 18:53:10 -08:00
Chris R 96f33b27d4 Migrate from xproj to csproj 2017-02-03 15:37:51 -08:00
John Luo 2e2b54a507 Add more cache control header parsing tests 2017-01-31 12:02:01 -08:00
John Luo 3289afe007 Add check for index advance during parsing 2017-01-31 11:03:20 -08:00
Pranav K 991fbb08bc Updating to 4.4 CoreFx packages 2016-12-14 14:47:29 -08:00
John Luo d50a24145d Add functionalities to HeaderUtilities
- Add allocation free parsing of int32, int64
- Improve performance of converting int64 to string
- Add parsing of seconds from header values
- Add check for existence of cache directives
- Expose CacheControlHeaderValue constants
2016-12-08 17:43:25 -08:00
Kiran Challa aa158f5d25 Modified Base64UrlTextEncoder to reduce string allocations. 2016-11-16 13:43:56 -08:00
Pranav K 4fbb0b01fc Updating versions to 1.2.0-* 2016-11-09 14:17:55 -08:00
Kiran Challa 4dcde8a329 Added Base64UrlTextEncoder utility from Security repo 2016-11-01 15:31:39 -07:00
Pranav K cdbd9ffa74 Updating to netcoreapp1.1 2016-10-13 11:18:10 -07:00
Pranav K 11a67b8f55 Revert "Updating to netcoreapp1.1"
This reverts commit 6d5cd28e9b.
2016-10-12 16:08:46 -07:00
Pranav K 6d5cd28e9b Updating to netcoreapp1.1 2016-10-12 13:45:30 -07:00
Ben Adams 4569653504 Don't allocate for ResponseCookiesFeature 2016-10-07 10:01:42 -07:00
Kristian Hellang 063d6eca0f Added custom RFC 1123 DateTimeFormatter to improve allocation profile (#716) 2016-10-05 12:19:15 -07:00
Pranav K 874dcebbcb Updating partner package versions 2016-09-28 11:50:48 -07:00
Mikael Mengistu 35cde79e46 Renamed HttpMethod class to HttpMethods to avoid conflicts 2016-09-27 14:26:36 -07:00
Mikael Mengistu 626332c5db Adding HTTP method constants 2016-09-26 23:09:08 -07:00
David Fowler 87cd79d6fc Added decoding tests for the FormReader
- This is the first step in work to remove
char[] allocations from the FormReader
2016-09-08 09:57:58 -07:00
John Luo e4afd782e8 Add strong and weak ETag comparisons 2016-08-30 14:15:16 -07:00
John Luo e2a0e887af Add UsePathBase middleware 2016-08-16 16:18:36 -07:00
Justin Kotalik a4a4e490c5 Addresses #678 and #679 2016-08-03 22:31:42 -07:00
BrennanConroy 9a0ea424ea Fix cross appdomain exception 2016-07-25 09:48:10 -07:00
Kiran Challa c5e09b0344 Added a HttpResponseStreamWriter test for surrogate pairs 2016-07-18 14:11:42 -07:00
Doug Bunting 9a28932b7a To de-dupe, we must remove (again)
- part of aspnet/Common#93
- use `WebEncoders` from Common repo
- leave some of `WebEncodersTests` to ensure resources are brought in correctly
2016-07-12 16:25:53 -07:00
Troy Dai 150b4708f1 Fix PathString over-encoding
Base on RFC 3986, ensure following characters are not encoded

alpha, digit, "-", "_", ".", "~", "@", ":", "/", "!", "$", ";", "=",
"'", "(", ")", "*", "+", ","
2016-07-08 15:54:46 -07:00
Doug Bunting 748e96f513 One build to rule them all
- well, at least VS and command-line builds will share output
- part of aspnet/Coherence-Signed#277
2016-07-07 12:01:29 -07:00
Derek Gray 59b605cafb Add UseWhenExtensions and UseWhenExtensionsTests 2016-07-05 11:54:23 -07:00
Pranav K 62eaf16585 Updating to RTM builds of xunit 2016-07-01 11:21:28 -07:00
John Luo 4986137ffe Use filename* for files in multipart forms when available #651 2016-06-29 12:31:52 -07:00
Chris R 3c0c02112d #659 Parse headers with consecutive commas 2016-06-23 14:22:23 -07:00
Pranav K 20d608170e Updating to dev versions 2016-06-16 10:17:59 -07:00
Justin Kotalik d71c2cb6ce Adds Refactor to Equals in Path String, Adds Regression Tests 2016-06-15 16:32:03 -07:00
N. Taylor Mullen 54bdd47763 Remove direct Microsoft.NETCore.Platforms dependency.
- Microsoft.NETCore.App now pulls this package in.

aspnet/Coherence-Signed#344
2016-06-13 15:28:32 -07:00