I think using constant BEARER instead of "Bearer ", and constant BASIC instead of "Basic " is better to reduce the risk of mistakes and increase reusability.
Comment From: pivotal-cla
@shin-mallang Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: bclozel
"Bearer "
and "Basic "
are not HTTP header names, so it doesn't make sense to expose them as public constants on HttpHeaders
. I'm declining this PR as a result. Thanks!