dotnet/aspnetcore

MediaTypeHeaderValue accepts a list of strings instead of a list of StringSegments

Ouverte

#2 695 ouverte le 2 janv. 2018

 (13 commentaires) (0 réaction) (0 personne assignée)C# (10 653 forks)batch import
affected-very-fewapi-suggestionarea-networkingenhancementfeature-http-abstractionshelp wantedseverity-nice-to-have

Métriques du dépôt

Stars
 (37 933 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

Update: API Proposal by @david-acker is in a comment below: https://github.com/dotnet/aspnetcore/issues/2695#issuecomment-1536948278


From @jkotalik on Monday, August 21, 2017 6:09:48 PM

With our efforts to remove usages of strings in favor of string segments, it seems incomplete that MediaTypeHeaderValue.ParseList only accepts a list of strings rather than a list of StringSegment. We should consider adding an overload to accept a list of StringSegment too.

Copied from original issue: aspnet/HttpAbstractions#920

Guide contributeur