[JBoss JIRA] (ISPN-8752) REST server fails to parse media-range with single asterix
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8752?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8752:
------------------------------------
Description:
According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
{noformat}
media-range =
( "*/*"
| ( type "/" "*" )
| ( type "/" subtype )
) *( ";" parameter )
{noformat}
but the REST server fails to parse
text/html, image/gif, image/jpeg, \*; q=.2, \*/\*; q=.2
since it can't recognize the 4th media type: *; q = .2
was:
According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
{noformat}
media-range =
( "*/*"
| ( type "/" "*" )
| ( type "/" subtype )
) *( ";" parameter )
{noformat}
but the REST server fails to parse
text/html, image/gif, image/jpeg, \*; q=.2, \*/\*; q=.2\*
since it can't recognize the 4th media type: *; q = .2
> REST server fails to parse media-range with single asterix
> ----------------------------------------------------------
>
> Key: ISPN-8752
> URL: https://issues.jboss.org/browse/ISPN-8752
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.0.CR2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
> {noformat}
> media-range =
> ( "*/*"
> | ( type "/" "*" )
> | ( type "/" subtype )
> ) *( ";" parameter )
> {noformat}
> but the REST server fails to parse
> text/html, image/gif, image/jpeg, \*; q=.2, \*/\*; q=.2
> since it can't recognize the 4th media type: *; q = .2
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8752) REST server fails to parse media-range with single asterix
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8752?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8752:
------------------------------------
Description:
According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
{noformat}
media-range =
( "*/*"
| ( type "/" "*" )
| ( type "/" subtype )
) *( ";" parameter )
{noformat}
but the REST server fails to parse
text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2*
since it can't recognize the 4th media type: *; q = .2
was:
According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
{noformat}
media-range =
( "*/*"
| ( type "/" "*" )
| ( type "/" subtype )
) *( ";" parameter )
{noformat}
but the REST server fails to parse
*text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2*
since it can't recognize the 4th media type: *; q = .2
> REST server fails to parse media-range with single asterix
> ----------------------------------------------------------
>
> Key: ISPN-8752
> URL: https://issues.jboss.org/browse/ISPN-8752
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.0.CR2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
> {noformat}
> media-range =
> ( "*/*"
> | ( type "/" "*" )
> | ( type "/" subtype )
> ) *( ";" parameter )
> {noformat}
> but the REST server fails to parse
> text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2*
> since it can't recognize the 4th media type: *; q = .2
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month
[JBoss JIRA] (ISPN-8752) REST server fails to parse media-range with single asterix
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-8752?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-8752:
------------------------------------
Description:
According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
{noformat}
media-range =
( "*/*"
| ( type "/" "*" )
| ( type "/" subtype )
) *( ";" parameter )
{noformat}
but the REST server fails to parse
text/html, image/gif, image/jpeg, \*; q=.2, \*/\*; q=.2\*
since it can't recognize the 4th media type: *; q = .2
was:
According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
{noformat}
media-range =
( "*/*"
| ( type "/" "*" )
| ( type "/" subtype )
) *( ";" parameter )
{noformat}
but the REST server fails to parse
text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2*
since it can't recognize the 4th media type: *; q = .2
> REST server fails to parse media-range with single asterix
> ----------------------------------------------------------
>
> Key: ISPN-8752
> URL: https://issues.jboss.org/browse/ISPN-8752
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.0.CR2
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
>
> According to [RFC-2616|https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html], media-range is defined as
> {noformat}
> media-range =
> ( "*/*"
> | ( type "/" "*" )
> | ( type "/" subtype )
> ) *( ";" parameter )
> {noformat}
> but the REST server fails to parse
> text/html, image/gif, image/jpeg, \*; q=.2, \*/\*; q=.2\*
> since it can't recognize the 4th media type: *; q = .2
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 1 month