Archana Rai created OLINGO-1165:
-----------------------------------
Summary: Olingo v2throwing exception with some valid
accept-language headers
Key: OLINGO-1165
URL: https://issues.apache.org/jira/browse/OLINGO-1165
Project: Olingo
Issue Type: Bug
Components: odata2-core
Affects Versions: V2 2.0.8
Reporter: Archana Rai
Priority: Minor
Some issues with accept language regex are:
# the expression allows at most three subparts, the RFC allows arbitrarily many
# the expression allows only lower-case in the first part, the RFC allows
upper- and lower-case
# the expression allows a wildcard followed by subparts which the RFC disallows
As for the valid values also consult the RFCs:
https://tools.ietf.org/html/rfc7231#section-5.3.5,
https://tools.ietf.org/html/rfc4647#section-2.1.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)