Commit Graph

214 Commits

Author SHA1 Message Date
N. Taylor Mullen 8703e2d7f2 Update LICENSE.txt and license header on files. 2015-05-01 13:52:04 -07:00
Chris R 5bce140681 #295 Rename Core->Abstractions and Interfaces->Features. 2015-04-29 14:38:26 -07:00
Chris Ross cc1a24b949 #273 - Use POCOs for auth context objects. 2015-04-23 15:16:23 -07:00
Chris Ross 4637a95157 #266 Consolidate authentication APIs. 2015-04-23 15:15:02 -07:00
Chris Ross 25aed6f88e #274 Reorganize the strong header type extensions. Remove SendAsync extensions. 2015-04-22 11:43:12 -07:00
Ajay Bhargav Baaskaran d4132d98fd Moved CommonTestEncoder to Testing repo 2015-04-21 13:32:02 -07:00
Chris Ross 65e57d28f3 Add PathString+string operator to prevent too much string<->PathString implicit conversion. 2015-04-21 11:08:54 -07:00
Chris Ross 86bd393d3d Add string+PathString operator to prevent too much string<->PathString implicit conversion. 2015-04-21 10:23:22 -07:00
Chris Ross 4030be585d #265 Add implicit converters between string and PathString. 2015-04-20 10:54:33 -07:00
Chris Ross 7d7cd5fde7 #265 Remove some overloads for Run, Map, and MapWhen. 2015-04-17 12:28:02 -07:00
Chris Ross d111e24da7 #190 - Swap Http and Http.Core package names. Remove Http.Core namespace. 2015-04-16 12:07:50 -07:00
Victor Hurdugaci fab55afca5 Update resource names 2015-04-08 15:31:44 -07:00
Levi B 6c9055cadc Fix CJK Ideographs and Hangul Syllables representation
Characters in these blocks weren't correctly identified as assigned characters, which caused the encoders to always encode them, even if the ranges were in the allow list.
2015-04-07 13:54:46 -07:00
Chris Ross 8da763a14a Disable false positive date parser test. 2015-04-06 13:52:08 -07:00
Chris Ross 957a77219c Use MemberData instead of InlineData. 2015-04-06 12:41:01 -07:00
Chris Ross b62dde23e6 Add quotes in project.json file. 2015-04-06 12:09:27 -07:00
Chris Ross c24a40517f #246 Fix multipart test on linux. 2015-04-06 11:25:26 -07:00
Pranav K 1f127d25c3 * Adding TimeSpan to DateTimeOffset so test succeeds in non-PST timezones
* Removing unused dependency from project.json
2015-04-06 07:41:05 -07:00
Doug Bunting c6bf89a04e Update .xproj files for Microsoft.Web.AspNet.* -> Microsoft.DNX.* rename 2015-04-02 13:49:26 -07:00
Levi B 1e9d57f80c UrlEncoder should always encode the U+003A COLON character
Provides extra defense-in-depth in case an application is using this API to encode a relative URL, otherwise the part before the colon could inadvertently be treated as a scheme.
2015-03-17 17:19:20 -07:00
Praburaj 93deb0b440 Remove dependency on DependencyInjection and instead use DependencyInjection.Interfaces on Http.Extensions
Fixes: https://github.com/aspnet/HttpAbstractions/issues/228
2015-03-13 19:56:45 -07:00
Brennan a06d05ffae Update xunit.runner.kre => xunit.runner.aspnet. 2015-03-12 16:27:02 -07:00
N. Taylor Mullen 12f90869c0 Update .kproj => .xproj. 2015-03-11 14:07:45 -07:00
Praburaj a6670114b1 Adding more fallbacks for BufferingHelper temporary folder location
Fixes:
https://github.com/aspnet/HttpAbstractions/issues/168
2015-03-10 21:20:50 -07:00
Levi B ae456401a8 Change AllowedCharsBitmap back to a struct.
I also experimented with having a fixed uint[] field inside the struct, but this actually ended up having worse performance than a proper uint[] array reference since it defeated some of the JITter's optimizations.
2015-03-10 17:58:10 -07:00
Levi B 64077026c7 API cleanup: Rename UnicodeBlock -> UnicodeRange
Also clean up related doc comments
2015-03-10 17:58:03 -07:00
Praburaj 58c45cd379 SignOutContext needs AuthenticationProperties 2015-03-09 19:37:38 -07:00
Praburaj 9463b08d7b Move SendFile HttpResponse extensions to Microsoft.AspNet.Http.Extensions
Addresses: https://github.com/aspnet/HttpAbstractions/issues/221
2015-03-09 15:05:16 -07:00
N. Taylor Mullen 973bf7865e Remove BOM from project.json, *.cmd, *.sh and *.shade files. 2015-03-09 12:54:49 -07:00
N. Taylor Mullen 0ad48b90b2 Update aspnet50/aspnetcore50 => dnx451/dnxcore50. 2015-03-08 12:50:39 -07:00
Levi B 9988d5205e GetXyzEncoder() shouldn't throw if IServiceProvider is null
Also remove dependency on full DI; use Interfaces instead
2015-03-05 18:43:59 -08:00
Praburaj d5e1b198dc Rename Microsoft.AspNet.Http.Interfaces => Microsoft.AspNet.Http 2015-03-05 16:54:21 -08:00
Brennan 09ccc84a17 DI API changes 2015-03-05 14:29:22 -08:00
Hao Kung 20848da93f React to DI changes 2015-03-04 18:08:36 -08:00
Hao Kung de1e8763dd Security -> Authentication
AuthN renames and design changes
2015-03-02 15:25:52 -08:00
Levi B 04707ccaa0 Add unit tests for the service provider extensions 2015-02-27 14:44:12 -08:00
Levi B eb42bc51fb CodePointFilter parameterless ctor should be empty, not Basic Latin 2015-02-27 11:30:01 -08:00
Levi B 0ca24147a0 Add unit tests and code generation routines 2015-02-27 11:30:00 -08:00
Brennan 6224268953 Updating .kproj files 2015-02-04 14:20:22 -08:00
Chris Ross 15a51e423f #175 - Decode multipart headers as UTF-8. 2015-01-22 09:42:09 -08:00
Stephen Halter db484a7dcb Rename Microsoft.AspNet.HttpFeature to Microsoft.AspNet.Http.Interfaces 2015-01-16 19:46:04 -08:00
Chris Ross d43cf30eff #162 - Rename PipelineCore project to Http.Core. Part 2. 2015-01-15 12:37:34 -08:00
Chris Ross 68be1d1b19 #162 - Change PipelineCore namespace to Http.Core. Part-1. 2015-01-15 11:52:34 -08:00
Chris Ross 4fb21644fc Implement strongly typed headers. 2015-01-14 15:41:09 -08:00
Chris Ross 5872feb224 #139 - Mime multipart request parsing. 2015-01-07 15:42:46 -08:00
Brennan b7eb1a92bb Update tests to use official xunit 2014-12-15 15:09:59 -08:00
Victor Hurdugaci 7569703906 Add schema version to kproj files 2014-11-25 10:49:23 -08:00
Chris Ross 1dd3a2ee1f #147 - OWIN: Throw KeyNotFoundException if the underlying Feature is missing. Return defaults for required entries. 2014-11-14 15:11:40 -08:00
Victor Hurdugaci 76bb27e5d3 Update KProj to the latest format 2014-11-12 15:09:59 -08:00
Louis DeJardin b7d9e11a84 Middleware invokation with per-request services
* Extension methods for .Use<TService1, ...> and
.Run<TService1, ...> add service parameters to lambda
* Middleware class .Invoke method may take services as
additional parameters
2014-11-05 13:32:25 -08:00
Chris Ross dc600a636a Support removing features from FeatureCollection. 2014-10-20 08:49:44 -07:00
Levi B 0f2b9b3701 Add Base64UrlEncode / Base64UrlDecode. 2014-10-14 16:12:51 -07:00
Pranav K 0d27849c14 Removing version token from framework assemblies node 2014-10-10 12:19:24 -07:00
Pranav K dc04ff843c Reacting to CLR package versioning changes 2014-10-10 10:32:48 -07:00
Chris Ross f5577c589e #130 - Remove semi-colon support from query parsing. 2014-10-08 14:25:59 -07:00
David Fowler 20de1d0597 Fix up references 2014-10-05 05:08:26 -07:00
Chris Ross c2934912af #121 - Make the query parsing API public. 2014-09-23 15:13:08 -07:00
Chris Ross 335895d9b4 #122 - Rename IBuilder to IApplicationBuilder. 2014-09-10 11:45:02 -07:00
David Fowler 90dad40029 Updated to use the new target framework in project.json 2014-09-04 01:27:14 -07:00
David Fowler aac0ce134c Updated to use the new target framework in project.json 2014-08-28 23:31:29 -07:00
David Fowler 274f20a383 Removed source files from the project 2014-08-15 08:14:48 -07:00
Chris Ross 7be9cefc4c QueryBuilder Add overload for IEnumerable. 2014-07-24 16:24:44 -07:00
Chris Ross af279f6d2b #65 Add a QueryBuilder. 2014-07-24 09:10:34 -07:00
harshgMSFT 80ffd26465 Adding abstractions for request headers
viz. Accept, Accept-Charset and Content-Type.
2014-07-23 14:54:15 -07:00
Chris Ross de1017e010 Fix test... 2014-07-16 12:20:57 -07:00
Chris Ross fe5202b3d2 Fix test. 2014-07-16 12:17:36 -07:00
Chris Ross dd7537de4a #103 Fix ambigious Keys property on IHeaderDictionary. 2014-07-16 12:11:51 -07:00
David Fowler 8f39f6d4b5 Renamed configurations to frameworks in project.json 2014-07-13 21:50:53 -07:00
Chris Ross bd872c5fb0 Fix rebase issue in tests. 2014-07-08 09:42:11 -07:00
Chris Ross 578518d5c4 #66 Add response writing extensions. 2014-07-08 09:34:57 -07:00
Chris Ross 5bf4883cd9 #91 Provide a default constructor for DefaultHttpContext. 2014-07-07 10:48:07 -07:00
Chris Ross bc2cf1223e #89 - Rename OnRequestAborted to RequestAborted. 2014-07-01 16:24:27 -07:00
Chris Ross f4a397dfcc OWIN: Support dynamically creatable features. 2014-06-27 09:21:06 -07:00
Chris Ross f5173e44ae Expand feature support for OWIN->K. 2014-06-27 09:21:04 -07:00
Chris Ross ff31b958fe #80 - Add CancellationToken to GetClientCertAsyc, GetFormAsync. 2014-06-26 09:32:44 -07:00
Brice Lambson 7f1135cec3 Bump version to 1.0.0-* 2014-06-19 16:33:18 -07:00
Chris Ross 2ae3a24a16 Remove CallCancelled property. Fix Owin query string. Add Owin user. Add Owin tests. 2014-06-19 09:02:49 -07:00
Chris Ross 434a128f1a Rename AcceptWebSocket to AcceptWebSocketAsync. 2014-06-13 08:37:23 -07:00
Chris Ross b9d7561bf9 Enable WebSocket and Opaque features. 2014-06-12 15:05:58 -07:00
David Fowler 124749de28 Fixed project.json casing 2014-05-26 02:49:34 -07:00
David Fowler 57717dd325 Fixed casing of project.json 2014-05-25 10:04:11 -07:00
David Fowler e5724c7301 Renamed Project.json to Project.json2 2014-05-25 10:04:11 -07:00
Pranav K aa9b259da7 Updating kproj file to match tooling changes 2014-05-18 20:13:55 -07:00
Andrew Peters 00d49bbd60 Updating copyright headers 2014-05-08 23:01:09 -07:00
Wei Wang 2ba629d886 Sort dependencies and remove duplicates in dependencies 2014-05-07 17:05:41 -07:00
Chris Ross 8b26f1d319 Move IBuilder and related components to the Ms.AspNet.Builder namespace. 2014-05-05 21:05:21 -07:00
Chris Ross 0ecb989103 Name Microsoft.AspNet.Abstractions to Microsoft.AspNet.Http. 2014-05-05 16:04:53 -07:00
Chris Ross 7fd80850ee Rename all feature interfaces to I*Feature. 2014-05-05 14:33:41 -07:00
anpete 35f921856f Update file headers 2014-05-01 17:39:31 -07:00
Chris Ross 5557b959c4 #20 - Port Map and MapWhen. Move Run. 2014-04-30 11:35:45 -07:00
Chris Ross 19d49b06a6 #53 - Add Auth unit tests. 2014-04-28 16:19:00 -07:00
Chris Ross 8ad7b489e2 #18 - Add interfaces for request lifetime management. 2014-04-24 14:44:50 -07:00
Chris Ross b751cf19d0 #34 - Make HttpContext.User return non-null. 2014-04-24 12:43:15 -07:00
David Fowler caff1d3d68 Fixed unused project references 2014-04-21 22:31:46 -07:00
Chris Ross a04d592d06 OWIN->K and K->OWIN support via Func<AppFunc, AppFunc>. 2014-04-21 16:26:15 -07:00
Chris Ross f12117fe1f Remove temp IAppBuilder support. 2014-04-15 11:28:42 -07:00
Pranav K c31e0f295f Removing unused Owin packages that are causing build failure
* Adding Microsoft.AspNet.AppBuildSupport.Tests to sln
2014-04-12 13:57:49 -07:00
Pranav K a20f65627f Removing unused Owin packages that are causing build failure 2014-04-12 12:39:30 -07:00
David Fowler 7e7c940c63 Updated to use the new tooling 2014-04-08 01:10:29 -07:00
Pranav K f4904e1803 Fixing PathString.Add(PathString) to handle trailing slashes correctly
Fixes #31
2014-04-03 12:55:45 -07:00
David Fowler a5dbcac2b7 Use new test infrastructure. 2014-03-23 14:25:24 -07:00
Ryan Nowak 543e818acd Add support for host based on Host header 2014-03-12 14:29:51 -07:00
Pranav K 9ac0a8c703 Adding ContentLength to HttpRequest
Partially addresses #15
2014-03-11 11:17:48 -07:00
Pranav K 09cc1964e7 Adding GetFormAsync on HttpRequest to read form data 2014-02-25 12:52:00 -08:00
Pranav K fe15f4a849 Ensure HttpResponse.Query is populated with query string values 2014-02-18 09:15:13 -08:00
Pranav K ad5a77ca4c Removing csproj files that are not meant to be commited 2014-02-14 19:56:27 -08:00
Louis DeJardin 86025a3ec4 Updated Builder constructors 2014-02-09 18:24:16 -08:00
David Fowler 4ce1423b1c Made small changes to prevent null refs when getting HttpRequestInformation
- Use FeatureReference<T>.Default instead of new when constructing
- Fixed  project.json in tests
2014-02-01 02:32:46 -08:00
Louis DeJardin 003718c564 Fixing build errors 2014-01-31 13:35:26 -08:00
Louis DeJardin af0923b68f Rouging out feature interfaces and default abstraction implementations 2014-01-31 13:26:10 -08:00
Louis DeJardin f7a4db4ae1 Roughing out more abstractions 2014-01-27 11:43:50 -08:00
David Fowler 76ef358974 Moved tests to test folder and renamed solution. 2014-01-23 23:54:25 -08:00
David Fowler 3ef8197d18 Updated projects and the build.
- Things compile with ifdefs for coreclr now.
2014-01-23 23:52:20 -08:00
Louis DeJardin 27ff7762e9 Updating with work in progress 2014-01-23 14:53:22 -08:00