Commit Graph

235 Commits

Author SHA1 Message Date
Levi B 204fb08e01 Refactor Encoders into their own package 2015-02-23 13:49:51 -08:00
Levi B 8d98d76209 Code comment clarifications 2015-02-19 14:42:20 -08:00
Levi B c551ec2490 Add encoder extension methods 2015-02-19 14:14:04 -08:00
Levi B fa18a8fb30 Rename HttpRequest.IsSecure -> HttpRequest.IsHttps 2015-02-17 10:50:07 -08:00
Levi B 3f9423eda9 Provide a facility for registering encoder services 2015-02-16 17:08:15 -08:00
Wei Wang d0543305f0 Add project.lock.json to .gitignore 2015-02-16 13:30:36 -08:00
Levi B fc52487294 Encoders should forbid Zs (space separator) characters except U+0020 SPACE 2015-02-13 14:12:40 -08:00
Levi B 0dd3a49463 Perf: Eliminate chatty virtual dispatches
This gives a speedup of approx. 20% (for overloads which take TextWriter) to 40% (for overloads which don't take TextWriter) for inputs in which at least one character requires encoding.
2015-02-12 11:44:11 -08:00
Pranav K 26cd8d51b6 Removing ANIs 2015-02-12 09:07:47 -08:00
Levi B e5c6fd401f Add TextWriter-based overloads to the encoding routines
These make the core implementations slightly slower but
provide the benefit of reducing allocations, which is
useful when these methods are called frequently by Razor.
2015-02-11 17:49:37 -08:00
Levi B 14c872d981 Update HtmlEncoder to wrap UnicodeEncoderBase 2015-02-11 12:03:47 -08:00
Levi B fc7ed3a9cd Add TLS token binding feature 2015-02-11 11:40:40 -08:00
Levi B 1008e17259 Add HtmlEncoder, UrlEncoder, and JavaScriptStringEncoder
Also add interfaces for abstracting each of these
Unit tests are not in yet but are coming soon
2015-02-11 11:39:22 -08:00
Eilon Lipton dadd9cd9f3 Merge pull request #189 from ironyx/patch-1
Logical AND would never be true; broke into OR statement
2015-02-11 09:35:06 -08:00
David Haney 9e7fbde9f1 Logical AND would never be true; broke into OR statement 2015-02-10 17:41:06 -05:00
Brennan 6224268953 Updating .kproj files 2015-02-04 14:20:22 -08:00
Wei Wang adcc579d89 Merge remote-tracking branch 'origin/release' into dev 2015-01-29 16:25:40 -08:00
Pranav K 3416bfcc80 Fixing NuGet.config 2015-01-28 23:24:31 -08:00
Wei Wang ae56486c6a Change SKIP_DOTNET_INSTALL to SKIP_KRE_INSTALL 2015-01-28 18:12:37 -08:00
Wei Wang c90a491821 Update build.cmd and build.sh to use kvm 2015-01-28 18:11:41 -08:00
Wei Wang c62c2b39c8 Merge branch 'release' of github.com:aspnet/HttpAbstractions into release 2015-01-28 18:10:45 -08:00
Chris Ross 096a0bf298 #174 - Constants for status codes, lookup for reason phrases. 2015-01-28 13:57:12 -08:00
Chris Ross e71c585eb3 Merge branch 'release' into dev 2015-01-22 09:43:13 -08:00
Chris Ross 15a51e423f #175 - Decode multipart headers as UTF-8. 2015-01-22 09:42:09 -08:00
Suhas Joshi 68763f7614 Merge branch 'release' into dev 2015-01-21 15:49:12 -08:00
Suhas Joshi 97c9f8f479 Updating to release NuGet.config 2015-01-21 15:49:10 -08:00
Wei Wang 93c5b0f2c8 Rename SKIP_KRE_INSTALL to SKIP_DOTNET_INSTALL 2015-01-20 18:19:02 -08:00
Suhas Joshi 118fc73707 Updating NuGet.config 2015-01-20 17:22:50 -08:00
Pranav K 382c3af065 Updating build.cmd and build.sh to use dotnetsdk 2015-01-20 01:36:08 -08:00
Pranav K 236801ee6e Updating build.cmd and build.sh to use dotnetsdk 2015-01-20 01:31:48 -08:00
David Fowler dceba03f4a Removed unused dependencies
#173
2015-01-19 01:43:09 -08:00
Stephen Halter db484a7dcb Rename Microsoft.AspNet.HttpFeature to Microsoft.AspNet.Http.Interfaces 2015-01-16 19:46:04 -08:00
Ajay Bhargav Baaskaran 26860ad7de Code cleanup 2015-01-15 18:34:38 -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
Ajay Bhargav Baaskaran 4377bb24ce Added extension methods for FormFile 2015-01-12 14:54:12 -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
Pranav K ae169aa794 Reacting to System.Threading version changes 2014-12-15 14:42:21 -08:00
Suhas Joshi fd45ff532c Updating to dev NuGet.config 2014-12-08 15:24:38 -08:00
Suhas Joshi d75e4c87ba Updating to release NuGet.config 2014-12-08 15:14:08 -08:00
Victor Hurdugaci 7569703906 Add schema version to kproj files 2014-11-25 10:49:23 -08:00
Chris Ross b5156a00b3 Argument validation cleanup. 2014-11-14 15:14:16 -08:00
Chris Ross ba693dd383 Code cleanup. 2014-11-14 15:11:41 -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
Chris Ross 389e27e460 #134 - Add HeadersSent api. 2014-11-06 10:59:52 -08:00
Pranav K b9b172c2e0 Merge branch 'release' into dev 2014-11-06 10:48:03 -08:00
Pranav K 75d8a81386 Updating to release NuGet.config 2014-11-06 10:47:59 -08:00