HttpOptions.getAllowedMethods expects single Allow header
---------------------------------------------------------
Key: HTTPCLIENT-688
URL: https://issues.apache.org/jira/browse/HTTPCLIENT-688
Project: HttpComponents HttpClient
Issue Type: Bug
Components: HttpClient
Affects Versions: 4.0 Alpha 1
Reporter: Roland Weber
Priority: Trivial
In client.methods.HttpOptions.getAllowMethods(), a single Allow header is
parsed to obtain the result. Since the value is a comma-separated list, servers
can optionally return the values in multiple headers.
HttpMethod.getHeaders(name) should be used instead of .getFirstHeader(name).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]